package com.model;

import java.util.Date;

//实体层
//表结构对每个字段的set和get方法
public class MyUser {
    private int userid;
    private String username;
    private String pwd;
    private int isStart;

    public String getUsername() {
        return username;
    }
    public void setUsername(String username) {
        this.username = username;
    }

    public int getUserid(){
        return userid ;
    }
    public void setUserid(int userid) {
        this.userid = userid;
    }

    public String getPwd(){
        return pwd;
    }
    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public int getIsstart() {
        return isStart;
    }
    public void setIsstart(int isstart) {
        this.isStart = isstart;
    }

    private String ip;
    private Date logtime;

    public void LoginLog(String ip, Date logtime) {
        this.ip = ip;
        this.logtime = logtime;
    }

}
